using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Drawing;
using System.Reflection;
using System.Workflow.ComponentModel.Compiler;
using System.Workflow.ComponentModel.Serialization;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Design;
using System.Workflow.Runtime;
using System.Workflow.Activities;
using System.Workflow.Activities.Rules;

namespace @SolutionName {
  partial class @WorkflowTemplateName {
    #region Designer generated code

    /// <summary> 
    /// Required method for Designer support - do not modify 
    /// the contents of this method with the code editor.
    /// </summary>
    [System.Diagnostics.DebuggerNonUserCode]
    private void InitializeComponent() {
      this.CanModifyActivities = true;
      System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
      System.Workflow.ComponentModel.ActivityBind activitybind2 = new System.Workflow.ComponentModel.ActivityBind();
      System.Workflow.Runtime.CorrelationToken correlationtoken1 = new System.Workflow.Runtime.CorrelationToken();
      System.Workflow.ComponentModel.ActivityBind activitybind3 = new System.Workflow.ComponentModel.ActivityBind();
      this.setToCompleted = new System.Workflow.Activities.SetStateActivity();
      this.logActivated = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
      this.onWorkflowActivated1 = new Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated();
      this.onWorkflowActivated = new System.Workflow.Activities.EventDrivenActivity();
      this.CompletedState = new System.Workflow.Activities.StateActivity();
      this.InitialState = new System.Workflow.Activities.StateActivity();
      // 
      // setToCompleted
      // 
      this.setToCompleted.Name = "setToCompleted";
      this.setToCompleted.TargetStateName = "CompletedState";
      // 
      // logActivated
      // 
      this.logActivated.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
      this.logActivated.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.WorkflowComment;
      activitybind1.Name = "@WorkflowTemplateName";
      activitybind1.Path = "HistoryDescription";
      activitybind2.Name = "@WorkflowTemplateName";
      activitybind2.Path = "HistoryOutcome";
      this.logActivated.Name = "logActivated";
      this.logActivated.OtherData = "";
      this.logActivated.UserId = -1;
      this.logActivated.MethodInvoking += new System.EventHandler(this.logActivated_MethodInvoking);
      this.logActivated.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.HistoryDescriptionProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
      this.logActivated.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.HistoryOutcomeProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind2)));
      // 
      // onWorkflowActivated1
      // 
      correlationtoken1.Name = "workflowToken";
      correlationtoken1.OwnerActivityName = "@WorkflowTemplateName";
      this.onWorkflowActivated1.CorrelationToken = correlationtoken1;
      this.onWorkflowActivated1.EventName = "OnWorkflowActivated";
      this.onWorkflowActivated1.Name = "onWorkflowActivated1";
      activitybind3.Name = "@WorkflowTemplateName";
      activitybind3.Path = "workflowProperties";
      this.onWorkflowActivated1.SetBinding(Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated.WorkflowPropertiesProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind3)));
      // 
      // onWorkflowActivated
      // 
      this.onWorkflowActivated.Activities.Add(this.onWorkflowActivated1);
      this.onWorkflowActivated.Activities.Add(this.logActivated);
      this.onWorkflowActivated.Activities.Add(this.setToCompleted);
      this.onWorkflowActivated.Name = "onWorkflowActivated";
      // 
      // CompletedState
      // 
      this.CompletedState.Name = "CompletedState";
      // 
      // InitialState
      // 
      this.InitialState.Activities.Add(this.onWorkflowActivated);
      this.InitialState.Name = "InitialState";
      // 
      // @WorkflowTemplateName
      // 
      this.Activities.Add(this.InitialState);
      this.Activities.Add(this.CompletedState);
      this.CompletedStateName = "CompletedState";
      this.DynamicUpdateCondition = null;
      this.InitialStateName = "InitialState";
      this.Name = "@WorkflowTemplateName";
      this.CanModifyActivities = false;

    }

    #endregion

    private SetStateActivity setToCompleted;
    private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logActivated;
    private Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated onWorkflowActivated1;
    private EventDrivenActivity onWorkflowActivated;
    private StateActivity CompletedState;
    private StateActivity InitialState;

  }
}
